package com.ai.enviro.generator;

/**
 * 工具库代码生成器
 */
public class SystemGenerator {
    public static void main(String[] args) {
        GeneratorConfig config = new GeneratorConfig();
        config.parentPacakge = "com.ai.enviro";
        config.tablePrefix = new String[]{"t_"};
        config.dataSource = "system";
        config.tables = new String[]{"t_iot_env"};
        config.jdbcUrl = "jdbc:mysql://aijourney.vip:3306/safedb?useUnicode=true&useSSL=false&characterEncoding=utf8";
        config.name = "safedb";
        config.driver = "com.mysql.jdbc.Driver";
        config.passwd = "bGM6NbsKRDj5b3Nb";
        config.author = "admin";
        config.module = "system";
        CodeGenerator.generate(config);
    }
}
